/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package crystall.lattinces;

/**
 *
 * @author efma0714
 */
public class MonoclinicLattince implements Lattince{

    public MonoclinicLattince(double a, double b, double c, double betta) throws Exception {
        if(betta==90)
        {
            throw new Exception("Неверные параметры для Моноклинной решетки!");
        }
        this.a = a;
        this.b = b;
        this.c = c;        
        this.betta = betta;
        
    }    
    
    private double a;
    
    private double b;
    
    private double c;
    
    private double alpha = 90;
    
    private double betta;
    
    private double gamma = 90;

    @Override
    public double getA() {
        return a;
    }

    @Override
    public double getB() {
        return b;
    }

    @Override
    public double getC() {
        return c;
    }

    @Override
    public double getAlpha() {
        return alpha;
    }

    @Override
    public double getBetta() {
        return betta;
    }

    @Override
    public double getGamma() {
        return gamma;
    }
    
}
